import React, {useEffect} from 'react';
import {Dimensions, Image} from 'react-native';

export const Launcher = (props) => {
    useEffect(() => {
        setTimeout(() => {
            props.navigation.replace('Main', {itemId: 1024, otherParm: 'fffffa'});
        }, 2000);
        return () => {
            
        }
    }, [])
    return (
        <Image style={{flex: 1, width: Dimensions.get('window').width, height: Dimensions.get('window').height}} source={require('./images/product_icon.png')}/>
    );
}